function runVideo(srtUrl,videoSize) {
    document.onkeypress = mediaEvent;
    

    function mediaEvent(event) {
        var keyCode = event.keyCode;
        if (keyCode == 768) {
            //document.getElementById("logo1").innerHTML += Utility.getEvent();
            var str = Utility.getEvent();
            str = eval('(' + str + ')');
            //document.getElementById("logo2").innerHTML += str;
            if (str.type === 'EVENT_MEDIA_END') {
                //document.getElementById("logo3").innerHTML += str;
                //播放代码
                mp.stop();
                //		var nativePlayerInstanceId = mp.getNativePlayerInstanceId();
                mp.setAllowTrickmodeFlag(0);
                mp.setSingleMedia(mediaStr);
                mp.setCurrentAudioChannel("Stereo");
                mp.setVideoDisplayArea(videoSize[0], videoSize[1], videoSize[2], videoSize[3]);
                mp.setVideoDisplayMode(0);
                mp.refreshVideoDisplay();
                mp.playFromStart();
            }
        }
    }

    var mediaStr = srtUrl;
    //			http://10.2.11.145:8080/vod/media/video/81.mp4
    try {
        var mp = new MediaPlayer();
        // statements
    } catch (e) {
        // statements
        console.log(e);
    }

    function init() {

        try {
            mp.stop();
            //		var nativePlayerInstanceId = mp.getNativePlayerInstanceId();
            mp.setAllowTrickmodeFlag(0);
            mp.setSingleMedia(mediaStr);
            mp.setCurrentAudioChannel("Stereo");
            mp.setVideoDisplayArea(videoSize[0], videoSize[1], videoSize[2], videoSize[3]);
            mp.setVideoDisplayMode(0);

            mp.refreshVideoDisplay();
            mp.playFromStart();
            // statements
        } catch (e) {
            // statements
            console.log(e);
        }
    }

    function exitPage() {
        try {
            mp.stop();
            // statements
        } catch (e) {
            // statements
            console.log(e);
        }
    }
    init()

    return mp;
}